﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="exAjax_Content.aspx.vb"
    Inherits="WSPruebasJQ.exAjax_Content" %>

IsPostback:<%=IsPostBack%>
<br />
FechaHora:<%=Now.ToString%>
<br />

<script type="text/javascript"> 
        // wait for the DOM to be loaded 
        $(document).ready(function() { 
        // prepare Options Object 
var options = { 
    target:     '#midiv', 
    url:        'exAjax_Content.aspx', 
    success:    function() { 
       // alert('Thanks for your comment!');  
     <%=me.mess %>
    } 
}; 
             // bind 'myForm' and provide a simple callback function 
            $('#myForm').ajaxForm(options); 
            
        }); 
</script>

<div id="result">
    ok</div>
<form id="myForm" action="exAjax_Content.aspx" method="post">
Name:
<input type="text" name="name" />
<br />
Comment:
<textarea name="comment"></textarea>
<br />
<input type="submit" id="command" name="command" value="Load,<%=Now.ToString%>" />
<input type="submit" id="command" name="command" value="Save,<%=Now.ToString%>" />
</form>
